Skip to main content

doubleClickInterval

Type

property

Summary

Specifies how long the delay can be between two clicks for them to be considered a double click.

Syntax

set the doubleClickInterval to <timeInterval>

Description

Use the doubleClickInterval property to fine-tune double-clicking.

Increase the doubleClickInterval to make the mouse less sensitive to slow double clicks; decrease it to make it less likely that two separate clicks will be mistaken for a double-click|double click.

If more time than the doubleClickInterval elapses between the first and second click, no mouseDoubleDown or mouseDoubleUp message is sent to the clicked object.

On Mac OS systems, the doubleClickInterval is set to the current setting (in the Mouse control panel) when LiveCode starts up. Normally, you should not change the doubleClickInterval setting, since doing so may discombobulate the user.

On Windows systems, the doubleClickInterval property is read-only and cannot be set.

Examples

set the doubleClickInterval to 100 -- 1/10 second
set the doubleClickInterval to 250 -- 1/4 second

message: mouseDoubleUp, mouseDoubleDown

function: milliseconds

glossary: object, property, message, read-only, double-click

keyword: integer

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?